package ${packageName}.service;

import com.baomidou.mybatisplus.extension.service.IService;
import ${packageName}.entity.${entityName};

/**
* @author heguoqin
* @date ${currentTime}
* ${tableComment}业务服务接口
*/
public interface ${entityName}Service extends IService<${entityName}>{
/**
* 根据 ID 获取 ${tableComment}
* @param id ${tableComment}的 ID
* @return ${tableComment}实体
*/
${entityName} get${entityName}ById(String id);

/**
* 保存 ${tableComment}
* @param ${entityName?uncap_first} ${tableComment}实体
* @return 保存结果
*/
boolean save${entityName}(${entityName} ${entityName?uncap_first});

/**
* 更新 ${tableComment}
* @param ${entityName?uncap_first} ${tableComment}实体
* @return 更新结果
*/
boolean update${entityName}(${entityName} ${entityName?uncap_first});

/**
* 根据 ID 删除 ${tableComment}
* @param id ${tableComment}的 ID
* @return 删除结果
*/
boolean delete${entityName}ById(String id);
}